package cn.youqu.happy.module.youqu.convert.systemHobby;

import java.util.*;

import cn.youqu.happy.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.youqu.happy.module.youqu.controller.admin.systemHobby.vo.*;
import cn.youqu.happy.module.youqu.dal.dataobject.systemHobby.SystemHobbyDO;

/**
 * 系统爱好 Convert
 *
 * @author 王其岩 20112001045
 */
@Mapper
public interface SystemHobbyConvert {

    SystemHobbyConvert INSTANCE = Mappers.getMapper(SystemHobbyConvert.class);

    SystemHobbyDO convert(SystemHobbyCreateReqVO bean);

    SystemHobbyDO convert(SystemHobbyUpdateReqVO bean);

    SystemHobbyRespVO convert(SystemHobbyDO bean);

    List<SystemHobbyRespVO> convertList(List<SystemHobbyDO> list);

    PageResult<SystemHobbyRespVO> convertPage(PageResult<SystemHobbyDO> page);

    List<SystemHobbyExcelVO> convertList02(List<SystemHobbyDO> list);

}
